package com.itheima.mapper;

import com.itheima.pojo.Address;
import com.itheima.pojo.Order;
import com.itheima.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderMapper {

    OrderSetting findByOrderDate(String orderDate);

    List<Order> findByCondition(Order order);

    void add(Order order);

    Map findById4Detail(Integer id);

    Integer findOrderCountByDate(String date);
    Integer findOrderCountAfterDate(String date);
    Integer findVisitsCountByDate(String date);
    Integer findVisitsCountAfterDate(String date);
    List<Map> findHotSetmeal();


}
